package com.showsu.editor.entity.vo;

import com.alibaba.fastjson2.annotation.JSONField;
import com.showsu.editor.entity.platform.xhs.AwemeDetailPlatformDataResult;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: jph
 * @Description:
 * @Date: Created in 15:25 上午 2024/05/28
 * @Modified By:
 */
@Data
@ApiModel(value = "小红书作品详情数据对象")
public class XhsAwemeDetail implements Serializable {

    @ApiModelProperty("作品id")
    private String awemeId;

    @ApiModelProperty(value = "xhs作品xSecToken")
    private String xSecToken;

    @ApiModelProperty("封面图")
    private String cover;

    @ApiModelProperty("作品标题")
    private String title;

    @ApiModelProperty("达人昵称")
    private String nickname;

    @ApiModelProperty("发布时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date publishTime;

    @ApiModelProperty("最后更新时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date lastUpdateTime;

    @ApiModelProperty("查询时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date queryTime;

    @ApiModelProperty("小红书笔记详情对象")
    private AwemeDetailPlatformDataResult.Note note;

    @ApiModelProperty("小红书用户对象")
    private AwemeDetailPlatformDataResult.User user;
}
